[Bug]: POST http://ca-stg-forecasting-eastus/api/predict “HTTP/1.1 500 Internal Server Error”

Repo: · Issue: #272 Status: Open · Priority: P2 Assignee: Martin Labels: bug

Description

Steps to reproduce

To reproduce:

  1. In staging login under username martin+13@twillpayments.com
  2. Navigate to finacial dashboard
  3. Open a plot with a forecast
  4. Attempt a modification

What was the expected behavior?

I expected it to modify the plot.

Error from alerts:

10 minutes ago: 2025-03-19 15:22:11.230|INFO|Mrtn13LLC9|widget_subgraph:106|Error in tool execution with tool `modify_plot`: 12 validation errors for ApacheEchartsOpt
10 minutes ago: 2025-03-19 15:22:11.230|ERROR|Mrtn13LLC9|widget_subgraph:109|12 validation errors for ApacheEchartsOptionsFormatting
10 minutes ago:     raise error_to_raise
10 minutes ago: 2025-03-19 15:22:10.098|INFO|Mrtn13LLC9|widget_subgraph:106|Error in tool execution with tool `modify_plot`: 12 validation errors for ApacheEchartsOpt
10 minutes ago: 2025-03-19 15:22:10.098|ERROR|Mrtn13LLC9|widget_subgraph:109|12 validation errors for ApacheEchartsOptionsFormatting
10 minutes ago:     raise error_to_raise
10 minutes ago (repeated 42 times) example:   Input should be 'auto' [type=literal_error, input_value='start', input_type=str]
10 minutes ago (repeated 42 times) example:     For further information visit https://errors.pydantic.dev/2.10/v/literal_error

Screenshots

Here you can see how … [add_screenshot_here]

Implementation Notes

Dash adds notes here while working

Link to people, meetings, dependent tickets